package edu.zu.pojo;


import lombok.Data;

import java.time.LocalDate;
import java.util.List;

//商品实体
@Data
public class Items {

    private Integer id;
    private String name;
    private Float price;
    private String detail;
    private String pic;
    private LocalDate createTime;

    //一个商品可以多个订单中
    private List<OrderDetail> orderDetailList;

}
